package net.zjitc.mapper;

import net.zjitc.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    List<Category> findAll();
    Category findOne(Integer id);
    void update(Category category);
    void delete(Integer id);
    void add(Category category);
}